{if condition=" $box_is_pjax != 1 "}
{load href="__static__/common/jquery/jquery.pjax.js" /}
{load href="__static__/common/bootstrap/js/bootstrap.min.js" /}
{load href="__static__/common/admin/adminLTE/js/app.min.js" /}
{load href="__static__/common/admin/adminLTE/js/demo.js" /}
{load href="__static__/common/bootstrap/js/bootstrap-dialog.min.css" /}
{load href="__static__/common/bootstrap/js/bootstrap-dialog.min.js" /}

{load href="__static__/common/fastclick/fastclick.js" /}

{load href="__static__/common/slimScroll/jquery.slimscroll.min.js" /}	<!--滚动条-->

{load href="__static__/common/nprogress/nprogress.js" /}   <!--//加载js-->
{load href="__static__/common/nprogress/nprogress.css" /}  <!--//加载样式-->

{load href="__static__/common/kindeditor/themes/default/default.css" /}
{load href="__static__/common/kindeditor/kindeditor-all-home.js" /}
{load href="__static__/common/kindeditor/lang/zh-CN.js" /}

{load href="__static__/common/uploader/webuploader.min.js" /}
{load href="__static__/common/uploader/webuploader.css" /}

{load href="__static__/common/cropper/cropper.min.css" /} <!--图片裁剪-->
{load href="__static__/common/cropper/cropper.min.js" /}

{load href="__static__/common/viewer/viewer.min.css" /} 	<!--图片浏览-->
{load href="__static__/common/viewer/viewer.min.js" /}

{load href="__static__/common/datetimepicker/moment-with-locales.min.js" /} 	<!--日历插件-->
{load href="__static__/common/datetimepicker/bootstrap-datetimepicker.min.css" /}
{load href="__static__/common/datetimepicker/bootstrap-datetimepicker.min.js" /}

{load href="__static__/common/js/common.js" /} 	<!--公共 JS-->
{load href="__static__/common/jquery/jquery.form.js" /}

<!--{load href="__static__/layer/layer.js" /}-->
{load href="__static__/xzyn/js/xzyn.js" /}

<script>
$(function () {


})

{eq name="is_music" value="1"}
	var player = new skPlayer({
        autoplay: {$is_AutoPlay},	//是否自动播放
        listshow: false,	//列表是否打开
        music: {
            type: '{$music_type}',
            source: {$YinYueData}
        }
   	});
{/eq}
setTimeout(yybfq_btn, 2000);
function yybfq_btn(){
	var btnhtml = '<div class="btnall"><a href="javascript:void(0);" id="yy_prev" class="x-tc-bai x-f12"><i class="fa fa-step-backward"></i></a><a href="javascript:void(0);" id="yy_next" class="x-tc-bai x-f12"><i class="fa fa-step-forward"></i></a></div>';
	$('.skPlayer-time').after(btnhtml);
    $('#yy_prev').click(function(){	//上一首
    	player.prev();
    })
    $('#yy_next').click(function(){	//下一首
    	player.next();
    })
	var list_num = $('.skPlayer-list li').length,
		list_num_html = '<span class="badge bg-red">'+list_num+'</span>';
	$('.skPlayer-list-switch').append(list_num_html);
}
</script>
{/if}